package com.ruoyi.customer.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.customer.domain.Contract;
import com.ruoyi.customer.domain.InWareHouse;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author:zzm
 * @Date: 2024/8/30 13:38
 */
@Mapper
public interface ContractMapper extends BaseMapper<Contract> {

    /**
     * 查询列表
     */
    List<Contract> getList(@Param("customerId") String customerId,@Param("customerNickName") String customerNickName,
                           @Param("customerAlias") String customerAlias,@Param("customerWeight") String customerWeight,
                           @Param("contract") String contract, @Param("saleName") String saleName,
                           @Param("customerService") String customerService);

    /**
     * 删除
     *
     * @param id
     */
    void deleteByIds(Long id);

    /**
     * 导出时的查询
     */
    List<Contract> getListExport();
    /**
     *
     * @param ids
     * @return
     */
    List<Contract> getListByIdS(Long[] ids);




}
